//
//  TableViewManager-Extras.m
//  funkydog
//
//  Created by Saptarshi Guha on 1/8/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import "TableViewManager-Extras.h"
#import <objc/objc.h>
#import <objc/objc-runtime.h>
#import <objc/objc-class.h>
#import "FunkyDog.h"


@implementation TableViewManager(MyExtras)
+(void)load{
	if (self == [TableViewManager class]){
		Method originalMethod ,replacedMethod;
//		originalMethod  = class_getInstanceMethod(self, @selector(_reallyUpdateTextViewerToSelection));
//		replacedMethod  = class_getInstanceMethod(self, @selector(_myreallyUpdateTextViewerToSelection));
//		method_exchangeImplementations(originalMethod, replacedMethod);	
	}
}

- (void)_myreallyUpdateTextViewerToSelection{
	[self _myreallyUpdateTextViewerToSelection];
	[[NSNotificationCenter defaultCenter] postNotificationName:SGMAILNoteHasBeenSelected object:[self selection]];
}

	
@end
